<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/27/027
 * Time: 15:13
 */
$redis = new redis();
$redis->connect('localhost',6379);
$redis->set('php','redis');